<?php
include_once('king_head.php');
?>
<table width="421" border="0" align="center">
  <tr>
    <td height="38" colspan="2"><div align="center" style="font-size: 18px">
      <h2>Reseller Upload Permissions </h2>
    </div></td>
  </tr>
  <tr>
    <td width="196">Reseller</td>
    <td width="215">Upload Permission</td>
  </tr>
  <?php
  $qr="Select * from reseller";
  $rs=mysql_query($qr);
  while($row=mysql_fetch_array($rs))
  {if($row['site_id']!=0 && $row['site_id']!=101){
  ?>
  <tr>
    <td><?php echo $row['title'].$row['fname'].$row['mname'].$row['lname']."(".$row['site_id'].")";?></td>
    <td>
      <a href="chg_upload_per.php?site_id=<?php echo $row['site_id'];?>&P=<?php echo $row['uploads'];?>">Currently(
      <?php if($row['uploads']=='Y')echo "On"; else echo "Off";?>)</a>
	  </td>
  </tr>
  <?php }}?>
</table>
<?php
include_once('king_foot.php');
?>